<?php echo $this->render('picture/special/_tab.phtml');?>
<form action="" method="post">
<?php
echo $this->form()->hidden('referer', $this->referer) . "\n";
echo $this->form()->hidden('addTo', '1') . "\n";
?>
<div class="body">
	<table class="search form">
		<tr>
			<th style="width:40%;"><?php echo $this->language('SPECIAL');?></th>
			<th><?php echo $this->language('Add Selected Special(s) To Category');?>:</th>
		</tr>
		<tr>
			<td><ul class="citem"><?php 
			foreach($this->specials AS $special) {
				echo '<li>';
				echo '<input type="checkbox" name="id[]" id="id-' . $special->getId() . '" value="' . $special->getId() . '" checked="checked" />';
				echo '<label class="for-checkbox" for="id-' . $special->getId() . '">' . $this->escape($special->getTitle());
				echo '<em>[' . $special->getId() . ']</em></label>';
				echo '</li>';
			}
			?></ul></td>
			<td><?php echo $this->partial('picture/_inc/categoryCheckbox.phtml', array('name' => 'category[]', 'selected' => $this->categoryList, 'type' => 'checkbox'));?></td>
		</tr>
		<tr>
			<th colspan="2">
				<button type="submit" name="addToCategory" value="submit"><?php echo $this->language('Continue');?> »</button>
				<button type="button" name="cancel" value="cancel" onclick="history.back();"><?php echo $this->language('Cancel');?> »</button>
			</th>
		</tr>
	</table>
</div>
</form>
